<?php /* Smarty version Smarty-3.0.6, created on 2012-12-05 15:08:00
         compiled from "/var/www/myweb/admin/skis/templates/include/article_index.html" */ ?>
<?php /*%%SmartyHeaderCode:118829615250bf63502bcfb5-17090519%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f35832c8f47d71b205228b2813a99ae24eaa8621' => 
    array (
      0 => '/var/www/myweb/admin/skis/templates/include/article_index.html',
      1 => 1354720078,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '118829615250bf63502bcfb5-17090519',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("include/header1.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

<!-- topbar starts -->
<?php $_template = new Smarty_Internal_Template("include/header2.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<!-- topbar ends -->
        <div class="container-fluid">
        <div class="row-fluid">

<!-- left menu starts -->
<?php $_template = new Smarty_Internal_Template("include/leftmenu.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<!-- left menu ends -->

    <div id="content" class="span10">
			<!-- content starts -->
			

			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">首页</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">文章</a>
					</li>
				</ul>
			</div>

    <div class="row-fluid sortable">	
				<div class="box span12">
					<div class="box-header well" data-original-title>
						<h2><i class="icon-plus"></i>浏览所有文章</h2>
						<div class="box-icon">
							<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
							<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
							<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
						</div>
					</div>
					<!--内容-->
                                        <div class="box-content">
                                            <div class="breadcrumb"><a href="<?php echo $_smarty_tpl->getVariable('webpaths')->value;?>
?c=article&a=edit">添加文章</a> | <a href="<?php echo $_smarty_tpl->getVariable('webpaths')->value;?>
?c=article">浏览所有文章</a></div>
                                                <table class="table table-striped table-bordered bootstrap-datatable datatable">
						  <thead>
							  <tr>
								  <th>Name</th>
                                                                  <th>Type</th>
								  <th>Date</th>
								  <th>Actions</th>
							  </tr>
						  </thead>   
						  <tbody>
                                                      <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('contentdata')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
							<tr>
								<td class="center"><a href="<?php echo $_smarty_tpl->getVariable('webpaths')->value;?>
?c=article&a=edit&id=<?php echo $_smarty_tpl->getVariable('contentdata')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
"><?php echo $_smarty_tpl->getVariable('contentdata')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['title'];?>
</a></td>
                                                                <td class="center"><?php echo $_smarty_tpl->getVariable('contentdata')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['channel_name'];?>
</td>
								<td class="center"><?php echo $_smarty_tpl->getVariable('contentdata')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['date'];?>
</td>
								<td class="center">
									<a class="btn btn-info" href="<?php echo $_smarty_tpl->getVariable('webpaths')->value;?>
?c=article&a=edit&id=<?php echo $_smarty_tpl->getVariable('contentdata')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
">
										<i class="icon-edit icon-white"></i>  
										Edit                                            
                                                                        </a><input type="hidden" name="myaaa1" value="<?php echo $_smarty_tpl->getVariable('contentdata')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id'];?>
" /><input type="hidden" name="myaaa2" value="<?php echo $_smarty_tpl->getVariable('contentdata')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['title'];?>
" />
									<a class="btn btn-danger btn-setting-my3" href="#">
										<i class="icon-trash icon-white"></i> 
										Delete
									</a>
								</td>
							</tr>
                                                        <?php endfor; endif; ?>
                                                  </tbody>
                                                </table>
					</div>
                                        <!--内容-->
				</div><!--/span-->
				
			</div><!--/row-->
                        
    </div>

    </div>
    <hr />
<?php $_template = new Smarty_Internal_Template("include/footer2.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</div>
<?php $_template = new Smarty_Internal_Template("include/footer1.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>